#!/bin/sh

if [ -f /etc/ppp/resolv.conf ]; then
    echo found /ect/ppp/resolv.conf
    cp /etc/ppp/resolv.conf /etc/resolv.conf
elif [ -f /var/run/ppp/resolv.conf ]; then
    echo found /var/run/ppp/resolv.conf
    cp /var/run/ppp/resolv.conf /etc/resolv.conf
else
    echo no dns file
    echo nameserver 211.136.17.107  > /etc/resolv.conf
    echo nameserver 211.136.20.203 >> /etc/resolv.conf
fi

